﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using VPSoftTestApplication.Entity;

namespace VPSoftTestApplication.View
{
    public interface IMainView
    {
        string GetCurrentConnectionString { get; }
        List<DocumentHeader> SetDocumentHeaders { set; }
        List<Inventory> SetInventories { set; }
        DocumentHeader CurrentDocumentHeader { get; }
        Inventory CurrentInventory { get; }
        string SortedColumn { get; }
        string SortedType { get; }
        int Page { get; set; }
        int CountPage { set; }
        int PageSize { get; }

        event EventHandler ChangeDatabase;
        event EventHandler LoadInventors;
        event EventHandler AddInventory;
        event EventHandler EditInventory;
        event EventHandler DeleteInventory;
    }
}

